determine the intersection of two sets